package is.progetto2.activity;

public class test {
	public static void main(String[] args) {
		Activity a=new Activity();
		Job j1=a.createJob(3);
		Job j2=a.createJob(4);
		
		Bind b1=a.createBind(BindType.BEGIN, j1, BindType.AFTER, BindType.END, j2);
		
		System.out.println(j1);
		System.out.println(j2);
		System.out.println(b1);
		System.out.println(a);
		ActivitySorted as=a.getActivitySorted();
		System.out.println(as);
		System.out.println(as.getNextJob(j2));
		Scheduler s=new Scheduler(a);
		s.resolve();
		System.out.println(s.getResult());
	}
}
